package com.ljx.recruitment.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.recruitment.common.domain.vo.resp.PageResp;
import com.ljx.recruitment.user.domain.entity.Tenant;
import com.ljx.recruitment.user.domain.entity.User;
import com.ljx.recruitment.user.domain.vo.req.TenantPageReq;
import com.ljx.recruitment.user.domain.vo.req.TenantSubmitReq;
import com.ljx.recruitment.user.domain.vo.req.UserPageReq;
import com.ljx.recruitment.user.domain.vo.resp.NavItemResp;
import com.ljx.recruitment.user.domain.vo.resp.TenantResp;
import com.ljx.recruitment.user.domain.vo.resp.TenantSearchFilterResp;
import com.ljx.recruitment.user.domain.vo.resp.ThemeConfigResp;

import java.util.List;
import java.util.Map;

public interface TenantService extends IService<Tenant> {

    TenantResp getInfoByCode(String code);

    PageResp<User> getUserPage(UserPageReq req);

    TenantResp submit(TenantSubmitReq req);

    PageResp<Tenant> getPage(TenantPageReq req);

    TenantResp getInfo(Long tenantId);

    TenantResp refreshResume(Long tenantId);

    List<TenantSearchFilterResp> getSearchFilter(Long tenantId);

    List<ThemeConfigResp> getThemeConfigList();

    List<NavItemResp> getSiteNavList();
}
